package gk.cxd.friday.repository.custom;

import gk.cxd.friday.model.SysMenu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 菜单表 数据层
 */
@Repository
public interface SysMenuCustomRepository {

    //通过用户ID查询菜单列表
    List<SysMenu> selectMenuListByUserId(SysMenu sysMenu, Long userId);
    //通过角色ID查询菜单列表
    List<SysMenu> selectMenuListByRoleId(Long roleId);
}

